package com.link.base.base.dailystatement.dao.mybatis.mapper;

import com.link.base.base.dailystatement.model.DailyDetail;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  安小波
 * @date:   2018-08-01/11/9 15:46
 * @version 1.0
 */

public interface DailyDetailMapper extends BasicMapper<DailyDetail> {
    /**
     * 查询日结详情头信息
     *
     * @param entity
     * @return
     * @throws Exception
     */
    public DailyDetail queryDailyDetailHead(DailyDetail entity) throws Exception;

    /**
     * 根据头id查询日结单详情头信息
     *
     * @param entity
     * @return
     * @throws Exception
     */
    public DailyDetail queryByHeadId(DailyDetail entity) throws Exception;
}
